
import java.util.ArrayList;
import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person("张三","5485448","长岗大道98号");
        Person p2 = new Person("张三","5485448","长岗大道98号");
        Person p3 = new Person("张三","5485448","长岗大道98号");
        
        List list = new ArrayList();
        list.add(p1);
        list.add(p2);
        list.add(p3);
        System.out.println("ArrayList内容是");
        
    }
    

}
